Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

feat: initial implementation #1

Merged
merged 7 commits into from
Feb 16, 2023
Merged

Conversation

achingbrain
Copy link
Member

@achingbrain achingbrain commented Feb 2, 2023

Adds unixfs commands:

  • cat
  • chmod
  • cp
  • ls
  • mkdir
  • rm
  • stat
  • touch

Each file operates on a CID and returns a new CID that refers to a DAG with the changes made to it.

This is largely a lift & shift of the MFS code from js-ipfs except it returns a CID instead of writing it to the datastore.

The tests have been ported from the interface suite.

Sharding support isn't fully realised, I'd like to land ipfs/js-ipfs-unixfs#171 first so the sharding tests are present but commented out.

Adds unixfs commands:

- add
- addStream
- cat
- chmod
- cp
- ls
- mkdir
- rm
- stat
- touch

Each file operates on a CID and returns a new CID that refers to a
DAG with the changes made to it.
achingbrain added a commit to ipfs/helia that referenced this pull request Feb 13, 2023
- Adds modules for a core library, the interface it implements and an interop suite.

UnixFS support is here: ipfs/helia-unixfs#1, IPNS is here: ipfs/helia-ipns#1 and I've pulled the CLI/RPC parts out to here: ipfs/helia-cli#1

---------

Co-authored-by: Russell Dempsey <1173416+SgtPooki@users.noreply.github.com>
@achingbrain achingbrain merged commit adb6b0e into main Feb 16, 2023
@achingbrain achingbrain deleted the feat/initial-implementation branch February 16, 2023 10:24
github-actions bot pushed a commit that referenced this pull request Feb 16, 2023
## 1.0.0 (2023-02-16)

### Features

* initial implementation ([#1](#1)) ([adb6b0e](adb6b0e))

### Trivial Changes

* initial commit ([35e8a8f](35e8a8f))
* Update .github/workflows/stale.yml [skip ci] ([bcb060d](bcb060d))

### Documentation

* update readme ([83e5e0e](83e5e0e))
@github-actions
Copy link

🎉 This PR is included in version 1.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant